package com.tsing.mapper.impl;

import com.tsing.common.framwork.mapper.CommonDao;
import com.tsing.mapper.WmUserMapper;
import com.tsing.pojo.entity.TlUser;
import com.tsing.pojo.entity.WmUser;

import java.sql.SQLException;
import java.util.List;

/**
 * @author 吴阳基
 * @datetime 2023/12/8 10:33
 */
public class WmUserMapperImpl extends CommonDao implements WmUserMapper {
    @Override
    public List<TlUser> list() {
        List<TlUser> tlUsers = null;

        try {
            tlUsers = executeQuery(TlUser.class, "select * from tl_user", null);
        } catch (SQLException e) {
            throw new RuntimeException(e);
        }

        return tlUsers;
    }
}
